GrapeCity SPREAD for Windows Forms 11.0J
OnInsert メソッド (CollectionBase<T>)


値を挿入する位置の0から始まるインデックス。
インデックスにある要素の新しい値。
System.Collections.CollectionBaseインスタンスに新しい要素を挿入する前に、追加のカスタム処理を実行します。
構文
'Declaration
 
Protected Overrides Sub OnInsert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'使用法
 
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As Object
 
instance.OnInsert(index, value)
protected override void OnInsert( 
   int index,
   object value
)

パラメータ

index
値を挿入する位置の0から始まるインデックス。
value
インデックスにある要素の新しい値。
参照

CollectionBase<T> クラス
CollectionBase<T> メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.